package com.fyzk.activity.lottery.basketball.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.fyzk.adapter.JCLQRSFAdapter;
import com.fyzk.utils.LotteryIDUtils;

/**
 * 让分胜负过关玩法
 * 
 * @author miao
 * 
 */
public class BasketballRFSFFragment extends BasketballWFBaseFragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		return super.onCreateView(inflater, container, savedInstanceState);
	}

	@Override
	public String getTextStr() {
		// TODO Auto-generated method stub
		return "让分胜平负";
	}

	@Override
	protected int getLotteryId() {
		// TODO Auto-generated method stub
		return LotteryIDUtils.JLRSF_LOTTERY_ID_INT;
	}

	@Override
	protected void adapterChange() {
		// TODO Auto-generated method stub
		// super.adapterChange(infos);
		if(adapter == null){
			adapter = new JCLQRSFAdapter(getActivity(),infos_all);
			if (adapter != null) {
				adapter.setOnJCLQTongJiListener(activity);
			}
			exListView.setAdapter(adapter);
			for (int i = 0; i < adapter.getGroupCount(); i++) {
				exListView.expandGroup(i);
			}
		}else{
			adapter.notifyDataSetChanged();
		}
	}

	@Override
	public void onActivityResult(int requestCode, int resultCode, Intent intent) {
		// TODO Auto-generated method stub
		super.onActivityResult(requestCode, resultCode, intent);
		
		
	}
	
	
}
